package com.leapp.sk.viewdelegate.adapter.personal

import android.widget.TextView
import com.example.mvp.delegate.BaseAdapterDelegate
import com.leapp.sk.R

/**
 * 班级指数适配器视图托管类
 * @author  chaohaipeng  on 2018/8/14.
 */
class ClassIndexAdapterDelegate : BaseAdapterDelegate(){
    override fun getOptionsMenuId(): Int {
        return 0
    }

    override fun initWidget() {
    }

    override fun onDestroy() {
    }

    override fun initLayoutRes(): Int {
        return R.layout.adapter_class_index_rank
    }

    fun initData(position:Int){
        val tv_acir_number = getView<TextView>(R.id.tv_acir_number)
        tv_acir_number.text="${position+1}"

    }


}